<!DOCTYPE html>





<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 3.9.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=7.4.1">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=7.4.1">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=7.4.1">
  <link rel="mask-icon" href="/images/logo.svg?v=7.4.1" color="#222">

<link rel="stylesheet" href="/css/main.css?v=7.4.1">


<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css?v=4.7.0">


<script id="hexo-configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    version: '7.4.1',
    exturl: false,
    sidebar: {"position":"left","display":"post","offset":12,"onmobile":false},
    copycode: {"enable":true,"show_result":true,"style":"mac"},
    back2top: {"enable":true,"sidebar":false,"scrollpercent":true},
    bookmark: {"enable":false,"color":"#222","save":"auto"},
    fancybox: false,
    mediumzoom: false,
    lazyload: false,
    pangu: true,
    algolia: {
      appID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    },
    localsearch: {"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},
    path: '',
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    translation: {
      copy_button: '复制',
      copy_success: '复制成功',
      copy_failure: '复制失败'
    },
    sidebarPadding: 40
  };
</script>

  <meta name="description" content="如何事半功倍的学习算法与数据结构精通一个领域chunk it up 切碎知识点一般书或者课程都会把知识点切碎的很好，但是要注意知识点之间的联系。  把这个领域想象成一个游戏，分解出几个大块，最后再串起来，形成知识树  还要注意知识点之间的对比  deliberate practicing 刻意练习 练习缺陷、弱点地方 不舒服、不爽、枯燥 切题四件套  feedback 反馈 主动反馈：主动去找 g">
<meta property="og:type" content="article">
<meta property="og:title" content="ShellyAn">
<meta property="og:url" content="http://yoursite.com/2019/10/28/如何事半功倍的学习算法与数据结构/index.html">
<meta property="og:site_name" content="ShellyAn">
<meta property="og:description" content="如何事半功倍的学习算法与数据结构精通一个领域chunk it up 切碎知识点一般书或者课程都会把知识点切碎的很好，但是要注意知识点之间的联系。  把这个领域想象成一个游戏，分解出几个大块，最后再串起来，形成知识树  还要注意知识点之间的对比  deliberate practicing 刻意练习 练习缺陷、弱点地方 不舒服、不爽、枯燥 切题四件套  feedback 反馈 主动反馈：主动去找 g">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="c:/Users/Administrator/AppData/Roaming/Typora/typora-user-images/1572242009472.png">
<meta property="og:image" content="c:/Users/Administrator/AppData/Roaming/Typora/typora-user-images/1572242122640.png">
<meta property="og:image" content="c:/Users/Administrator/AppData/Roaming/Typora/typora-user-images/1572242177995.png">
<meta property="og:updated_time" content="2019-10-28T06:15:12.664Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="ShellyAn">
<meta name="twitter:description" content="如何事半功倍的学习算法与数据结构精通一个领域chunk it up 切碎知识点一般书或者课程都会把知识点切碎的很好，但是要注意知识点之间的联系。  把这个领域想象成一个游戏，分解出几个大块，最后再串起来，形成知识树  还要注意知识点之间的对比  deliberate practicing 刻意练习 练习缺陷、弱点地方 不舒服、不爽、枯燥 切题四件套  feedback 反馈 主动反馈：主动去找 g">
<meta name="twitter:image" content="c:/Users/Administrator/AppData/Roaming/Typora/typora-user-images/1572242009472.png">
  <link rel="canonical" href="http://yoursite.com/2019/10/28/如何事半功倍的学习算法与数据结构/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome: false,
    isPost: true,
    isPage: false,
    isArchive: false
  };
</script>

  <title> | ShellyAn</title>
  








  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-meta">

    <div>
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">ShellyAn</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
        <p class="site-subtitle">实践出真知</p>
      
  </div>

  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>
</div>


<nav class="site-nav">
  
  <ul id="menu" class="menu">
      
      
        
        
        <li class="menu-item menu-item-home">
      
    

    <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>

  </li>
      
    
      
      
        
        
        <li class="menu-item menu-item-archives">
      
    

    <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档</a>

  </li>
      
    
  </ul>

</nav>
</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>
  <div class="reading-progress-bar"></div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
            

          <div class="content">
            

  <div class="posts-expand">
      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block " lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2019/10/28/如何事半功倍的学习算法与数据结构/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Shelly An">
      <meta itemprop="description" content="Python、Oracle，金融科技">
      <meta itemprop="image" content="/images/shelly.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="ShellyAn">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          
            
            

          
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              
                
              

              <time title="创建时间：2019-10-28 14:06:13 / 修改时间：14:15:12" itemprop="dateCreated datePublished" datetime="2019-10-28T14:06:13+08:00">2019-10-28</time>
            </span>
          
            

            
          

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h1 id="如何事半功倍的学习算法与数据结构"><a href="#如何事半功倍的学习算法与数据结构" class="headerlink" title="如何事半功倍的学习算法与数据结构"></a>如何事半功倍的学习算法与数据结构</h1><h2 id="精通一个领域"><a href="#精通一个领域" class="headerlink" title="精通一个领域"></a>精通一个领域</h2><h3 id="chunk-it-up-切碎知识点"><a href="#chunk-it-up-切碎知识点" class="headerlink" title="chunk it up 切碎知识点"></a>chunk it up 切碎知识点</h3><p>一般书或者课程都会把知识点切碎的很好，但是要注意知识点之间的联系。</p>
<p><img src="C:\Users\Administrator\AppData\Roaming\Typora\typora-user-images\1572242009472.png" alt="1572242009472"></p>
<p>把这个领域想象成一个游戏，分解出几个大块，最后再串起来，形成知识树</p>
<p><img src="C:\Users\Administrator\AppData\Roaming\Typora\typora-user-images\1572242122640.png" alt="1572242122640"></p>
<p>还要注意知识点之间的对比</p>
<p><img src="C:\Users\Administrator\AppData\Roaming\Typora\typora-user-images\1572242177995.png" alt="1572242177995"></p>
<h3 id="deliberate-practicing-刻意练习"><a href="#deliberate-practicing-刻意练习" class="headerlink" title="deliberate practicing 刻意练习"></a>deliberate practicing 刻意练习</h3><ul>
<li>练习缺陷、弱点地方</li>
<li>不舒服、不爽、枯燥</li>
<li>切题四件套</li>
</ul>
<h3 id="feedback-反馈"><a href="#feedback-反馈" class="headerlink" title="feedback 反馈"></a>feedback 反馈</h3><ul>
<li>主动反馈：主动去找<ul>
<li>github：别人的项目</li>
<li>leetcode<ul>
<li>做题：切题四件套</li>
<li>别人的写法</li>
</ul>
</li>
<li>第一视角直播（视频）</li>
</ul>
</li>
<li>被动反馈<ul>
<li>大佬帮你code review</li>
<li>教练看你打，给你反馈</li>
</ul>
</li>
</ul>
<h3 id="切题四件套"><a href="#切题四件套" class="headerlink" title="切题四件套"></a>切题四件套</h3><ul>
<li>clarification：明确题目意思</li>
<li>possible solutions：所有可能的解，用最佳解<ul>
<li>compare(time/space)</li>
<li>optimal(加强)</li>
</ul>
</li>
<li>coding(多写)</li>
<li>test cases：测试案例</li>
</ul>
<h2 id="如何计算算法复杂度"><a href="#如何计算算法复杂度" class="headerlink" title="如何计算算法复杂度"></a>如何计算算法复杂度</h2>
    </div>

    
    
    
        
      

      <footer class="post-footer">

        

          <div class="post-nav">
            <div class="post-nav-next post-nav-item">
              
                <a href="/2019/10/12/2019-10-18/" rel="next" title="第一周ARTS 2019-10-21 至 2019-10-25">
                  <i class="fa fa-chevron-left"></i> 第一周ARTS 2019-10-21 至 2019-10-25
                </a>
              
            </div>

            <span class="post-nav-divider"></span>

            <div class="post-nav-prev post-nav-item">
              
            </div>
          </div>
        
      </footer>
    
  </article>
  
  
  

  </div>


          </div>
          
    
    <div class="comments" id="gitalk-container"></div>
  

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">
        
        
        
        
      

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#如何事半功倍的学习算法与数据结构"><span class="nav-number">1.</span> <span class="nav-text">如何事半功倍的学习算法与数据结构</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#精通一个领域"><span class="nav-number">1.1.</span> <span class="nav-text">精通一个领域</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#chunk-it-up-切碎知识点"><span class="nav-number">1.1.1.</span> <span class="nav-text">chunk it up 切碎知识点</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#deliberate-practicing-刻意练习"><span class="nav-number">1.1.2.</span> <span class="nav-text">deliberate practicing 刻意练习</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#feedback-反馈"><span class="nav-number">1.1.3.</span> <span class="nav-text">feedback 反馈</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#切题四件套"><span class="nav-number">1.1.4.</span> <span class="nav-text">切题四件套</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#如何计算算法复杂度"><span class="nav-number">1.2.</span> <span class="nav-text">如何计算算法复杂度</span></a></li></ol></li></ol></div>
        
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image"
      src="/images/shelly.jpg"
      alt="Shelly An">
  <p class="site-author-name" itemprop="name">Shelly An</p>
  <div class="site-description" itemprop="description">Python、Oracle，金融科技</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        
          <a href="/archives/">
        
          <span class="site-state-item-count">2</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
    
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

<div class="copyright">
  &copy; 
  <span itemprop="copyrightYear">2019</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Shelly An</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io" class="theme-link" rel="noopener" target="_blank">Hexo</a> 强力驱动 v3.9.0
  </div>
  <span class="post-meta-divider">|</span>
  <div class="theme-info">
      
    主题 – <a href="https://pisces.theme-next.org" class="theme-link" rel="noopener" target="_blank">NexT.Pisces</a> v7.4.1
  </div>

        












        
      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js?v=3.1.0"></script>
  <script src="/lib/pjax/pjax.min.js?v=0.2.8"></script>
  <script src="//cdn.jsdelivr.net/npm/pangu@4/dist/browser/pangu.min.js"></script>
  <script src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  <script src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script src="/js/utils.js?v=7.4.1"></script><script src="/js/motion.js?v=7.4.1"></script>
<script src="/js/schemes/pisces.js?v=7.4.1"></script>
<script src="/js/next-boot.js?v=7.4.1"></script>
  <script>
var pjax = new Pjax({
  selectors: [
    'head title',
    '#page-configurations',
    '.content-wrap',
    '.post-toc-wrap',
    '#pjax'
  ],
  switches: {
    '.post-toc-wrap': Pjax.switches.innerHTML
  },
  analytics: false,
  cacheBust: false,
  scrollTo : !CONFIG.bookmark.enable
});

window.addEventListener('pjax:success', () => {
  document.querySelectorAll('script[pjax], script#page-configurations, #pjax script').forEach(element => {
    var code = element.text || element.textContent || element.innerHTML || '';
    var parent = element.parentNode;
    parent.removeChild(element);
    var script = document.createElement('script');
    if (element.id) {
      script.id = element.id;
    }
    if (element.className) {
      script.className = element.className;
    }
    if (element.type) {
      script.type = element.type;
    }
    if (element.src) {
      script.src = element.src;
      // Force synchronous loading of peripheral JS.
      script.async = false;
    }
    if (element.getAttribute('pjax') !== null) {
      element.setAttribute('pjax', '');
    }
    if (code !== '') {
      script.appendChild(document.createTextNode(code));
    }
    parent.appendChild(script);
  });
  NexT.boot.refresh();
  // Define Motion Sequence & Bootstrap Motion.
  if (CONFIG.motion.enable) {
    NexT.motion.integrator
      .init()
      .add(NexT.motion.middleWares.postList)
      .bootstrap();
  }
  NexT.utils.updateSidebarPosition();
});
</script>




  




















    <div id="pjax">

  

  

  

  

<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.css">

<script>
  NexT.utils.getScript('//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js', () => {
    var gitalk = new Gitalk({
      clientID: '81247054@qq.com',
      clientSecret: 'Anxueying1990',
      repo: 'anxueying.github.io',
      owner: 'anxueying',
      admin: ['germey'],
      id: '272c1a5af04d8b89f126669e1c110e44',
        language: 'zh-CN',
      
      distractionFreeMode: 'true'
    });
    gitalk.render('gitalk-container');
  }, window.Gitalk);
</script>

    </div>
</body>
</html>
